﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="admin_index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>后台登陆 - 三剑客在线教育管理系统</title>
    <script type="text/javascript">
        function refresh() {
            document.getElementById("authImg").src = 'inc/Validata.aspx?id=admin&now=' + new Date();
        }
    </script>
    <style type="text/css">
        body
        {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            overflow: hidden;
            background-color:#152753;
        }
        .STYLE3
        {
            font-size: 12px;
            color: #adc9d9;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td bgcolor="#1075b1">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td height="608" background="images/login_03.gif">
                    <table width="847" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td height="318" background="images/login_04.gif">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td height="84">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td width="381" height="84" background="images/login_06.gif">
                                            &nbsp;
                                        </td>
                                        <td width="162" valign="middle" background="images/login_07.gif">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td width="44" height="24" valign="bottom">
                                                        <div align="right">
                                                            <span class="STYLE3">用户</span></div>
                                                    </td>
                                                    <td width="10" valign="bottom">
                                                        &nbsp;
                                                    </td>
                                                    <td height="24" colspan="2" valign="bottom">
                                                        <div align="left">
                                                            <asp:TextBox ID="tb_adminName" runat="server" BackColor="#87ADBF" BorderColor="#153966"
                                                                BorderStyle="Solid" BorderWidth="1px" Font-Size="12px" ForeColor="#283439" Height="17px"
                                                                Width="85px"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfv_name" runat="server" ControlToValidate="tb_adminName"
                                                                ErrorMessage="*"></asp:RequiredFieldValidator>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="24" valign="bottom">
                                                        <div align="right">
                                                            <span class="STYLE3">密码</span></div>
                                                    </td>
                                                    <td width="10" valign="bottom">
                                                        &nbsp;
                                                    </td>
                                                    <td height="24" colspan="2" valign="bottom">
                                                        <asp:TextBox ID="tb_pwd" runat="server" BackColor="#87ADBF" BorderColor="#153966"
                                                            BorderStyle="Solid" BorderWidth="1px" Font-Size="12px" ForeColor="#283439" Height="17px"
                                                            Width="85px" TextMode="Password"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfv_pwd" runat="server" ControlToValidate="tb_pwd"
                                                            ErrorMessage="*"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="24" valign="bottom">
                                                        <div align="right">
                                                            <span class="STYLE3">验证码</span></div>
                                                    </td>
                                                    <td width="10" valign="bottom">
                                                        &nbsp;
                                                    </td>
                                                    <td width="52" height="24" valign="bottom">
                                                        <asp:TextBox ID="tb_code" runat="server" BackColor="#87ADBF" BorderColor="#153966"
                                                            BorderStyle="Solid" BorderWidth="1px" Font-Size="12px" ForeColor="#283439" Height="17px"
                                                            Width="50px"></asp:TextBox>
                                                        <td width="62" valign="bottom">
                                                            <div align="left">
                                                                <%-- <a href="javascript:void(0);" onclick="refresh()" title="看不清？单击此处刷新验证码">
                                                                <img src="inc/Validata.aspx?id=admin" alt="看不清？单击此处刷新验证码" width="35" height="17" id="authImg" border="0"/>
                                                                </a>--%>
                                                                <img src="inc/Validata.aspx?id=admin" alt="看不清？单击此处刷新验证码" width="35" height="17"
                                                                    id="authImg" border="0" onclick="refresh()" />
                                                                <asp:RequiredFieldValidator ID="rfv_Chkcode" runat="server" ControlToValidate="tb_code"
                                                                    ErrorMessage="*">*</asp:RequiredFieldValidator>
                                                            </div>
                                                        </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="26">
                                            <img src="images/login_08.gif" width="26" height="84">
                                        </td>
                                        <td width="67" background="images/login_09.gif">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td height="25">
                                                        <div align="center">
                                                            <asp:ImageButton ID="ibtn_login" runat="server" ImageUrl="~/admin/images/dl.gif"
                                                                Height="20px" Width="57px" OnClick="ibtn_login_Click" /></div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="25">
                                                        <div align="center">
                                                            <asp:ImageButton ID="ibtn_res" runat="server" ImageUrl="~/admin/images/cz.gif" Height="20px"
                                                                Width="57px" OnClick="ibtn_res_Click" />
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="211" background="images/login_10.gif">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td height="206" background="images/login_11.gif">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td bgcolor="#152753">
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
